import { BasicColumn } from '/@/components/Table';
import { FormSchema } from '/@/components/Table';

export const columns: BasicColumn[] = [
  {
    title: '表名',
    dataIndex: 'name',
    width: 100,
  },
  {
    title: 'Engine',
    dataIndex: 'engine',
    width: 100,
  },
  {
    title: '备注',
    dataIndex: 'comment',
    width: 100,
  },
  {
    title: '创建时间',
    dataIndex: 'createTime',
    width: 100,
  },
];

export const searchFormSchema: FormSchema[] = [
  {
    field: 'F_name_like',
    label: '表名',
    component: 'Input',
    componentProps: {
      placeholder: '请输入表名',
    },
    colProps: { span: 4 },
  },
];
